package com.dds.system.domain.admin;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dds.common.annotation.Excel;
import com.dds.common.core.domain.BaseEntity;

/**
 * 运营中心员工对象 admin_user_operation_child
 * 
 * @author gaolianjie
 * @date 2021-04-14
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor(staticName = "of",force = true)
public class AdminUserOperationChild
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 上级 */
    @Excel(name = "上级")
    private Long parentId;

    /** 管理员id */
    @Excel(name = "管理员id")
    private Long adminUserId;

    /** 团队id */
    @Excel(name = "团队id")
    private Long adminUserOperationId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String realName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 身份证有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "身份证有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date idCardValidity;

    /** 授权数 */
    @Excel(name = "授权数")
    private Integer operationAuthorizedNum;

    /** 分润比例 */
    @Excel(name = "分润比例")
    private BigDecimal shareProportion;

    /** 次月生效分润比例 */
    @Excel(name = "次月生效分润比例")
    private BigDecimal lastShareProportion;

    /** 排序（不用） */
    @Excel(name = "排序", readConverterExp = "不=用")
    private Integer order;

    /** 层级 */
    @Excel(name = "层级")
    private Integer level;

    /** 允许开通子级数 */
    @Excel(name = "允许开通子级数")
    private Integer hasChildNum;

    /** 编号 */
    @Excel(name = "编号")
    private String cardNo;

    /** 职位定位 */
    @Excel(name = "职位定位")
    private String position;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String avatar;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "用户头像", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "用户头像", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "用户头像", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deletedAt;

    /** 部门id */
    @Excel(name = "部门id")
    private Long departmentId;

    /** 是否负责人 1是 0否 */
    @Excel(name = "是否负责人 1是 0否")
    private Integer isOwner;

    /** 是否运营人员 1是 0否 */
    @Excel(name = "是否运营人员 1是 0否")
    private Integer isOperation;

    /** 身份证正面照 */
    @Excel(name = "身份证正面照")
    private String idCardFirst;

    /** 身份证反面照 */
    @Excel(name = "身份证反面照")
    private String idCardLast;

    /** 2寸免冠照片 */
    @Excel(name = "2寸免冠照片")
    private String headerPhoto;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankNo;

    /** 银行预留手机号 */
    @Excel(name = "银行预留手机号")
    private String bankPhone;

    /** 银行开户行 */
    @Excel(name = "银行开户行")
    private String bankAddress;

    /** 是否冻结 1是 0否 */
    @Excel(name = "是否冻结 1是 0否")
    private Integer status;

    /** 是否辞退 1是 0否 */
    @Excel(name = "是否辞退 1是 0否")
    private Integer isDismiss;

    /** 辞退备注 */
    @Excel(name = "辞退备注")
    private String dismissDesc;

    /** 已开店数 */
    @Excel(name = "已开店数")
    private Integer openNum;

    /** 剩余可开店数 */
    @Excel(name = "剩余可开店数")
    private Integer ceilNum;

    /** 是否审核 1是 0否 */
    @Excel(name = "是否审核 1是 0否")
    private Integer isExamine;


}
